package com.diver.flinkdemo.dto.xxt;

import com.diver.flinkdemo.entity.LatAndLon;
import com.diver.flinkdemo.entity.xxt.Wifi;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangyj
 * @date 2023/3/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "添加fence", description = "添加电子围栏请求体")
public class FenceAddRequestDTO {

    //围栏名称
    @ApiModelProperty(value = "围栏名称", required = true)
    private String fenceName;

    //围栏类型 0：圆形 1:多边形
    @ApiModelProperty(value = "围栏类型 0：圆形 1:多边形", required = true)
    private String fenceType;

    //围栏标签
    @ApiModelProperty(value = "围栏标签")
    private String fenceLabel;

    //圆心纬度
    @ApiModelProperty(value = "圆心纬度")
    private String circleLat;

    //圆心经度
    @ApiModelProperty(value = "圆心经度")
    private String circleLon;

    //圆形半径
    @ApiModelProperty(value = "圆形半径")
    private String circleRadius;

    //多边形经纬度坐标列表
    @ApiModelProperty(value = "多边形经纬度坐标列表")
    private List<LatAndLon> polygonList;

    //wifi列表
    @ApiModelProperty(value = "wifi列表")
    private List<Wifi> wifiList;
}
